home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
m
/
maxonc++2.dms
/
maxonc++2.adf
/
MCPIncl.lha
/
assert.h
next >
Wrap
C/C++ Source or Header
|
1992-02-10
|
233b
|
12 lines
#ifndef __INCLUDE_ASSERT_H
#define __INCLUDE_ASSERT_H
#ifdef NDEBUG
#define assert(C)
#else
extern "Asm" void do__assert(char*, char*, unsigned int);
#define assert(C) { if(!(C)) do__assert(#C, __FILE__, __LINE__); }
#endif
#endif